package com.lysj.merchant.desk.service;

import com.lysj.admin.utils.spring.foundation.base.BaseService;
import com.lysj.merchant.desk.domain.DeskType;
import com.lysj.merchant.desk.repository.DeskTypeRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author Created by drj on 2019-03-07 14:35:45
 * @description 餐桌类型服务层
 */
@Slf4j
@Service
@Transactional
public class DeskTypeService implements BaseService<DeskType> {

    @Resource
    private DeskTypeRepository deskTypeRepository;

    @Override
    public DeskTypeRepository getRepository() {
        return deskTypeRepository;
    }
}